package lu.med.praxiswahl.wahlumed.client.rechnungen;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class TypeActionListener implements ActionListener {

	private RechnungenPanel owner;

	public TypeActionListener(RechnungenPanel owner) {
		this.owner = owner;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		if (e.getActionCommand().equals("Aktuell")) {
			owner.refreshMo();
		} else if (e.getActionCommand().equals("Erledigt")) {
			owner.refreshMo();
		} else if (e.getActionCommand().equals("IM PC")) {
			owner.refreshMo();
		} else if (e.getActionCommand().equals("Nicht erstellt")) {
			owner.refreshMo();
		}
	}
}
